<?php
/* @var $this UserController */
/* @var $model User */

$this->breadcrumbs=array(
	'用户'=>array('index'),
	$model->userName);

$this->menu=array(
	array('label'=>'用户列表', 'url'=>array('index')),
	array('label'=>'新建用户', 'url'=>array('create')),
	array('label'=>'更新用户', 'url'=>array('update', 'id'=>$model->userId)),
	array('label'=>'删除用户', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->userId),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'管理用户', 'url'=>array('admin')),
);
?>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'userId',
		'userName',
		//'roles',
		//'version',
		//'tagline',
		//'password',
		//'avatar',
		//'jobTitle',
		'email',
		//'emailPreference',
		//'website',
		//'active',
		//'lastLogin',
		//'lastIp',
		'uuid',
		'facebook',
		'twitter',
		//'openid',
		//'createdBy',
		//'modifiedBy',
		//'modifiedOn',
		//'createdOn',
		//'companyId',
	),
)); ?>
